package com.test.controller;

import com.test.dao.WX_StoresMapper;
import com.test.enums.Replay;
import com.test.service.WX_StoresService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * WX_StoreController
 *
 * @author HY
 * 2021/05/21 10:32
 **/

@RestController
@RequestMapping("/wx/store")
@Api(tags = "微信获商店接口")
public class WX_StoresController {

    @Resource
    private WX_StoresService storesService;

    @GetMapping("/select")
    @ApiOperation("微信获取商店列表")
    public Replay getStore(){

        Replay replay = storesService.select();

        return replay;
    }


}
